home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
hity wydania
/
Ubuntu 9.10 PL
/
karmelkowy-koliberek-desktop-9.10-i386-PL.iso
/
casper
/
filesystem.squashfs
/
usr
/
sbin
/
gdm
< prev
next >
Wrap
Text File
|
2009-10-20
|
666b
|
35 lines
#!/bin/sh
#
# A script so that
# 1) we read the standard system env vars
# 2) syadmins/integrators can add their own private options etc...
test -f /etc/profile && . /etc/profile
# Try to set LC_MESSAGES to LANG if neither LC_MESSAGES or LC_ALL is set.
# This ensures that gdm can display in a system's default language if only
# LANG is set.
# Make sure LANG is set
#
if [ -z "$LANG" ]
then
if [ -f /etc/sysconfig/language ]
then
LANG=`. /etc/sysconfig/language; echo $RC_LANG`
export LANG
fi
fi
if [ -z "$LC_MESSAGES" ]
then
if [ -z "$LC_ALL" ]
then
LC_MESSAGES=$LANG
export LC_MESSAGES
fi
fi
exec /usr/sbin/gdm-binary "$@"